﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DeviceState.Model
{
    public class MessageData
    {
        public string Command { get; set; }
        public List<RegInfo> Data { get; set; }
    }

    public class RegInfo
    {
        public string deviceID { get; set; }
        public string manufacturer { get; set; }
        public string ip { get; set; }
        public string mac { get; set; }
        public string mask { get; set; }
        public string version { get; set; }
    }

    public class CatalogueData
    {
        public string Command { get; set; }
        public List<CatalogueInfo> Data { get; set; }
    }

    public class CatalogueInfo
    {
        public string deviceID { get; set; }
        public string name { get; set; }
        public int subDeviceType { get; set; }
        public string version { get; set; }
    }

    public class CmdMessage
    {
        public string Cmd { get; set; }
        public int DataLen { get; set; }
        public int DevNo { get; set; }
        public int Address { get; set; }
    }
}
